<!DOCTYPE html>
<html lang="en-US" dir="ltr">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1">
    <title>VitePress</title>
    <meta name="description" content="A VitePress site">
    <meta name="generator" content="VitePress v1.6.3">
    <link rel="preload stylesheet" href="/assets/style.Yig8NXoh.css" as="style">
    <link rel="preload stylesheet" href="/vp-icons.css" as="style">
    
    <script type="module" src="/assets/app.wIrz1Wjr.js"></script>
    <link rel="preload" href="/assets/inter-roman-latin.Di8DUHzh.woff2" as="font" type="font/woff2" crossorigin="">
    <link rel="modulepreload" href="/assets/chunks/theme.DpGy53uy.js">
    <link rel="modulepreload" href="/assets/chunks/framework.BtEkjhVd.js">
    <link rel="modulepreload" href="/assets/components_button_index.md.BEQlNT35.lean.js">
    <script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
    <script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
  </head>
  <body>
    <div id="app"><div class="Layout" data-v-1736ca2d><!--[--><!--]--><!--[--><span tabindex="-1" data-v-70a7b693></span><a href="#VPContent" class="VPSkipLink visually-hidden" data-v-70a7b693>Skip to content</a><!--]--><!----><header class="VPNav" data-v-1736ca2d data-v-5d54ba80><div class="VPNavBar" data-v-5d54ba80 data-v-4997c39f><div class="wrapper" data-v-4997c39f><div class="container" data-v-4997c39f><div class="title" data-v-4997c39f><div class="VPNavBarTitle has-sidebar" data-v-4997c39f data-v-46845dd4><a class="title" href="/" data-v-46845dd4><!--[--><!--]--><!----><span data-v-46845dd4>vitepress</span><!--[--><!--]--></a></div></div><div class="content" data-v-4997c39f><div class="content-body" data-v-4997c39f><!--[--><!--]--><div class="VPNavBarSearch search" data-v-4997c39f><!----></div><nav aria-labelledby="main-nav-aria-label" class="VPNavBarMenu menu" data-v-4997c39f data-v-5eeee85e><span id="main-nav-aria-label" class="visually-hidden" data-v-5eeee85e> Main Navigation </span><!--[--><!--[--><a class="VPLink link VPNavBarMenuLink" href="/guild/installation.html" tabindex="0" data-v-5eeee85e data-v-74595746><!--[--><span data-v-74595746>指南</span><!--]--></a><!--]--><!--[--><a class="VPLink link VPNavBarMenuLink active" href="/components/button/" tabindex="0" data-v-5eeee85e data-v-74595746><!--[--><span data-v-74595746>组件</span><!--]--></a><!--]--><!--]--></nav><!----><div class="VPNavBarAppearance appearance" data-v-4997c39f data-v-8a1dbe67><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-8a1dbe67 data-v-9552af08 data-v-2d266aa8><span class="check" data-v-2d266aa8><span class="icon" data-v-2d266aa8><!--[--><span class="vpi-sun sun" data-v-9552af08></span><span class="vpi-moon moon" data-v-9552af08></span><!--]--></span></span></button></div><div class="VPSocialLinks VPNavBarSocialLinks social-links" data-v-4997c39f data-v-26652bcf data-v-b6d91bc9><!--[--><a class="VPSocialLink no-icon" href="https://gitee.com/baidizi/component-library---vue3-ts" aria-label="gitee" target="_blank" rel="noopener" data-v-b6d91bc9 data-v-e63ce56b><span class="vpi-social-gitee"></span></a><!--]--></div><div class="VPFlyout VPNavBarExtra extra" data-v-4997c39f data-v-ab8ddc29 data-v-5da47a0b><button type="button" class="button" aria-haspopup="true" aria-expanded="false" aria-label="extra navigation" data-v-5da47a0b><span class="vpi-more-horizontal icon" data-v-5da47a0b></span></button><div class="menu" data-v-5da47a0b><div class="VPMenu" data-v-5da47a0b data-v-436b714b><!----><!--[--><!--[--><!----><div class="group" data-v-ab8ddc29><div class="item appearance" data-v-ab8ddc29><p class="label" data-v-ab8ddc29>Appearance</p><div class="appearance-action" data-v-ab8ddc29><button class="VPSwitch VPSwitchAppearance" type="button" role="switch" title aria-checked="false" data-v-ab8ddc29 data-v-9552af08 data-v-2d266aa8><span class="check" data-v-2d266aa8><span class="icon" data-v-2d266aa8><!--[--><span class="vpi-sun sun" data-v-9552af08></span><span class="vpi-moon moon" data-v-9552af08></span><!--]--></span></span></button></div></div></div><div class="group" data-v-ab8ddc29><div class="item social-links" data-v-ab8ddc29><div class="VPSocialLinks social-links-list" data-v-ab8ddc29 data-v-b6d91bc9><!--[--><a class="VPSocialLink no-icon" href="https://gitee.com/baidizi/component-library---vue3-ts" aria-label="gitee" target="_blank" rel="noopener" data-v-b6d91bc9 data-v-e63ce56b><span class="vpi-social-gitee"></span></a><!--]--></div></div></div><!--]--><!--]--></div></div></div><!--[--><!--]--><button type="button" class="VPNavBarHamburger hamburger" aria-label="mobile navigation" aria-expanded="false" aria-controls="VPNavScreen" data-v-4997c39f data-v-e0afeb62><span class="container" data-v-e0afeb62><span class="top" data-v-e0afeb62></span><span class="middle" data-v-e0afeb62></span><span class="bottom" data-v-e0afeb62></span></span></button></div></div></div></div><div class="divider" data-v-4997c39f><div class="divider-line" data-v-4997c39f></div></div></div><!----></header><div class="VPLocalNav has-sidebar empty" data-v-1736ca2d data-v-986fda60><div class="container" data-v-986fda60><button class="menu" aria-expanded="false" aria-controls="VPSidebarNav" data-v-986fda60><span class="vpi-align-left menu-icon" data-v-986fda60></span><span class="menu-text" data-v-986fda60>Menu</span></button><div class="VPLocalNavOutlineDropdown" style="--vp-vh:0px;" data-v-986fda60 data-v-a7a0393c><button data-v-a7a0393c>Return to top</button><!----></div></div></div><aside class="VPSidebar" data-v-1736ca2d data-v-2da60620><div class="curtain" data-v-2da60620></div><nav class="nav" id="VPSidebarNav" aria-labelledby="sidebar-aria-label" tabindex="-1" data-v-2da60620><span class="visually-hidden" id="sidebar-aria-label" data-v-2da60620> Sidebar Navigation </span><!--[--><!--]--><!--[--><div class="no-transition group" data-v-d092e980><section class="VPSidebarItem level-0 has-active" data-v-d092e980 data-v-3ebbd634><div class="item" role="button" tabindex="0" data-v-3ebbd634><div class="indicator" data-v-3ebbd634></div><h2 class="text" data-v-3ebbd634>基础组件</h2><!----></div><div class="items" data-v-3ebbd634><!--[--><div class="VPSidebarItem level-1 is-link" data-v-3ebbd634 data-v-3ebbd634><div class="item" data-v-3ebbd634><div class="indicator" data-v-3ebbd634></div><a class="VPLink link link" href="/components/button/" data-v-3ebbd634><!--[--><p class="text" data-v-3ebbd634>Button</p><!--]--></a><!----></div><!----></div><!--]--></div></section></div><!--]--><!--[--><!--]--></nav></aside><div class="VPContent has-sidebar" id="VPContent" data-v-1736ca2d data-v-ee3cd0bf><div class="VPDoc has-sidebar has-aside" data-v-ee3cd0bf data-v-d74c4038><!--[--><!--]--><div class="container" data-v-d74c4038><div class="aside" data-v-d74c4038><div class="aside-curtain" data-v-d74c4038></div><div class="aside-container" data-v-d74c4038><div class="aside-content" data-v-d74c4038><div class="VPDocAside" data-v-d74c4038 data-v-c007f9d0><!--[--><!--]--><!--[--><!--]--><nav aria-labelledby="doc-outline-aria-label" class="VPDocAsideOutline" data-v-c007f9d0 data-v-db44ad91><div class="content" data-v-db44ad91><div class="outline-marker" data-v-db44ad91></div><div aria-level="2" class="outline-title" id="doc-outline-aria-label" role="heading" data-v-db44ad91>On this page</div><ul class="VPDocOutlineItem root" data-v-db44ad91 data-v-ac713ad1><!--[--><!--]--></ul></div></nav><!--[--><!--]--><div class="spacer" data-v-c007f9d0></div><!--[--><!--]--><!----><!--[--><!--]--><!--[--><!--]--></div></div></div></div><div class="content" data-v-d74c4038><div class="content-container" data-v-d74c4038><!--[--><!--]--><main class="main" data-v-d74c4038><div style="position:relative;" class="vp-doc _components_button_" data-v-d74c4038><div><h2 id="button-按钮" tabindex="-1">Button 按钮 <a class="header-anchor" href="#button-按钮" aria-label="Permalink to &quot;Button 按钮&quot;">​</a></h2><!----><!----><details class="details custom-block"><summary>显示代码</summary><div class="language-html vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">html</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">ea-button</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;默认按钮&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">ea-button</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt; &lt;</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">ea-button</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> type</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&quot;primary&quot;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;默认按钮&lt;/</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">ea-button</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">&gt;</span></span></code></pre></div></details></div></div></main><footer class="VPDocFooter" data-v-d74c4038 data-v-f4663140><!--[--><!--]--><!----><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
    <script>window.__VP_HASH_MAP__=JSON.parse("{\"components_button_index.md\":\"BEQlNT35\",\"guild_installation.md\":\"DIHk_-i7\",\"guild_quickstart.md\":\"C1DjFXQJ\",\"index.md\":\"BmSxwhMa\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"VitePress\",\"description\":\"A VitePress site\",\"base\":\"/\",\"head\":[],\"router\":{\"prefetchLinks\":true},\"appearance\":true,\"themeConfig\":{\"siteTitle\":\"vitepress\",\"nav\":[{\"text\":\"指南\",\"link\":\"/guild/installation\"},{\"text\":\"组件\",\"link\":\"/components/button/\"}],\"socialLinks\":[{\"icon\":\"gitee\",\"link\":\"https://gitee.com/baidizi/component-library---vue3-ts\"}],\"sidebar\":{\"/guild/\":[{\"text\":\"基础\",\"items\":[{\"text\":\"安装\",\"link\":\"/guild/installation\"},{\"text\":\"快速开始\",\"link\":\"/guild/quickstart\"}]},{\"text\":\"进阶\",\"items\":[{\"text\":\"xx\",\"link\":\"/xx\"}]}],\"/components/\":[{\"text\":\"基础组件\",\"items\":[{\"text\":\"Button\",\"link\":\"/components/button/\"}]}]}},\"locales\":{},\"scrollOffset\":134,\"cleanUrls\":false}");</script>
    
  </body>
</html>